#include <iostream>
#include "Student.h"

int lambda_test();
int student_test();
int student_test2();
// int main() {
// //    std::cout << "Hello, World!" << std::endl;
//     lambda_test();
// //    student_test();
//     // student_test2();
//     return 0;
// }

int student_test(){
    const Student s1(1,"zhangsan");
    s1.say();
    const Student s2(2,"lisi");
    s2.say();
    //explicit 后不可使用
//    Student s3 = 3;
    const Student s3(3);
    s3.say();
    return 0;
}

int student_test2(){
    const Student s4(100,"MOOCSTUDENT",10);
    s4.say();
    const auto *s = new Student;
    delete s;
    cout << "flag" << endl;
    return 0;
}
